#ifndef HUDOBJECT_H
#define HUDOBJECT_H

#include <GameGlobals.h>

class World;
class Command;

struct HUDObject
{
	HUDObject(World* gameworld);
	~HUDObject();
	World* world;

	truth hidden;
	truth solid;
	b2Color color;
	b2Color textColor;
	vec2 bottomLeft;
	vec2 size;
	std::string text;
	float brightness;
	std::vector<vec2> vertices;
	
	Command* command;

	void Update();
	void Draw();
	void OnClick();
	truth MouseOver();
};

#endif
